import service from "../utiles/request";

//查询待离职列表
export function pending_list(payload:any = {}){
    return service.get('/leaf',{params:payload})
}
//查询已离职列表
export function resigneda_list(payload:any = {}){
    return service.get('/leaf',{params:payload})
}
//改为已离职
export function resigneda_update(payload:any = {}){
    return service.post('/leaf/status',payload)
}
// //放弃离职
// export function resigneda_delete(payload:any = {}){
//     return service.post('/leave_delete',payload)
// }